//
//  VisitRecordModel.m
//  WanCaiC8
//
//  Created by tangang on 2018/4/28.
//  Copyright © 2018年 tangang. All rights reserved.
//

#import "VisitRecordModel.h"

@implementation VisitRecordModel

- (void)setAccessTime:(NSString *)AccessTime{
    NSArray *str=[AccessTime componentsSeparatedByString:@"."];
    if (str.count>0) {
        AccessTime=str[0];
    }
    str=[AccessTime componentsSeparatedByString:@"+"];
    if (str.count>0) {
        AccessTime=str[0];
    }
//    NSDate *date=[TGTools dateFormatter:@"yyyy-MM-dd'T'HH:mm:ss" andString:AccessTime];
//    _AccessTime=[TGTools dateFormatter:@"MM-dd HH:mm" andDate:date];
    
    _AccessTime = [[TGToolForDateFormatter shareInstance] userVisibleDateTimeStringForRFC3339DateTimeString:AccessTime];
}

@end
